package cloud.simple.helloworld;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/*
 * 相当于@Configuration、@ComponentScan、@EnableAutoConfiguration
 * @Configuration、@ComponentScan是Spring框架的语法
 * @EnableAutoConfiguration是Spring Boot的语法，表示将使用自动配置
 */
@SpringBootApplication
public class Application {

	public static void main(String[] args) throws Exception {
		SpringApplication.run(Application.class, args);
		// SpringApplication.run(SampleController.class, "--server.port=8081");
	}

}
